import request from "@/utils/request";
//获取购物车列表
export const getCartListAPI=()=>request.get('/member/cart')

//加入购物车
export const postCartAPI=data=>request.post('/member/cart',data)

//删除购物车
export const deleteCartAPI=data=>request.delete(`/member/cart`,data)

//修改购物车
export const putCartAPI=(data,skuId)=>request.put(`/member/cart/${skuId}`,data)
